﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AMS.DeDuplicator.CommonLayer.Iterator;

namespace AMS.DeDuplicator.CommonLayer.Composite
{
    // consider making this a generic
    public interface IDirectoryComposite
    {
        string Path { get; }

        IIterator<IFileComponent> GetFiles();

        IIterator<IDirectoryComposite> GetDirectories();

        void AddComposite(IDirectoryComposite composite);

        void AddComponent(IFileComponent component);
    }
}
